home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950329-19950528
/
000078_news@columbia.edu_Sun Apr 9 12:11:15 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA19127
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 9 Apr 1995 08:49:17 -0400
Received: by apakabar.cc.columbia.edu id AA02963
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 9 Apr 1995 08:49:16 -0400
Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!math.ohio-state.edu!uwm.edu!msunews!harbinger.cc.monash.edu.au!yoyo.aarnet.edu.au!goliath.camtech.com.au!gateway.dircsa.org.au!gateway.dircsa.org.au!not-for-mail
From: arthur@gateway.dircsa.org.au (Arthur Marsh)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Input / Output in Scripts?
Date: 9 Apr 1995 21:41:15 +0930
Organization: DIRCSA - Disability Information and Resource Centre
Lines: 38
Distribution: world
Message-Id: <3m8it3$cbe@gateway.dircsa.org.au>
References: <3lhpvk$nb8@ccnet.ccnet.com>
Nntp-Posting-Host: gateway.dircsa.org.au
X-Newsreader: TIN [version 1.1 PL8]
Apparently-To: kermit.misc@watsun.cc.columbia.edu
dasilva@ccnet.com wrote:
: I've got the manual in front of me, and I am trying to learn scripting. I have
: the following script to telnet to my provider:
: log session
: set input echo on
: set terminal type vt100
: telnet my.isp.com
replace this with
set port tcp/ip my.isp.com
: input 5 login:
: output myname\13
: input 5 Password
: output mypassword\13
Add a
connect
if desired at this stage.
telnet my.isp.com
is equivalent to:
set port tcp/ip my.isp.com
connect
which puts you directly into interactive mode, and the script that follows
doesn't get executed until the telnet session gets closed.
--
Arthur Marsh, telephone +61-8-370-2365, fax +61-8-370-2133, +61-8-223-5082
arthur@gateway.dircsa.org.au
.endofsig